# Copyright (c) 2023 by RisingLeaf (https://github.com/RisingLeaf)
#
# Endless Sky is free software: you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later version.
#
# Endless Sky is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.

outfit "Strange Ray"
	"display name" "ストレンジ・レイ"
	plural "ストレンジ・レイ"
	mass 25
	"outfit space" -20
	"gun ports" -1
	weapon
		sprite "projectile/strange ray"
			"frame rate" 60
			"no repeat"
		"inaccuracy" 20
		"velocity" 6
		"lifetime" 10
		"fade out" 2
		"reload" 1
		"firing energy" 8
		"firing heat" 4
		"shield damage" 50
		"hull damage" 43
		"minable damage" 64
	description "有機的な生き物が気体をこれほどの高温まで熱するなど、本来ありえないはずだが、この器官はその例外らしい。"

outfit "Internal Plasma Exhaust"
	"display name" "内部プラズマ排気"
	plural "内部プラズマ排気"
	"mass" 25
	"outfit space" -25
	"engine capacity" -25
	"thrust" 36
	"turn" 1500
	"flare sprite" "effect/plasma exhaust"
		"frame rate" 16
	description "タケ・メサは、体の末端からプラズマを噴き出して進む。"

ship "Tace Mesa"
	"display name" "タケ・メサ"
	plural "タケ・メサ"
	sprite "ship/silent harvester"
	swizzle 0
	"never disabled"
	attributes
		category "Unclassified"
		cost 500000
		"mass" 525
		"outfit space" 45
		"weapon capacity" 20
		"engine capacity" 25
		"cargo space" 500
		"hull" 1500
		"solar collection" 200
		"fuel capacity" 200

		"inscrutable" 1
		"heat dissipation" 0.47
		"energy capacity" 1000

		"required crew" 1
		"drag" 20
		"bunks" 40
	outfits
		"Strange Ray"
		"Internal Plasma Exhaust"
	gun 0 -64 "Strange Ray"
	engine 0 0
	explode "huge explosion" 10
	explode "large explosion" 40
	explode "medium explosion" 50
	"final explode" "final explosion large"
	description "タケ・メサは、その成り立ちも体の仕組みもいまだ解き明かされていない生き物だ。何千年も存在し続けてきたし、これからも長く存在し続けるのだろう。星系のさらに外縁には、もっと大きな個体がいるという噂もある。"

mission "The Silent Ones"
	invisible
	non-blocking
	entering
	repeat
	source
		system "Il'le"
	destination "Earth"
	to offer
		not "The Silent Ones: active"
	to complete
		never
	npc save
		government "Silent Ones"
		personality harvests mining mute timid
		system "Il'le"
		ship "Tace Mesa" ""
	npc save
		government "Silent Ones"
		personality harvests mining mute timid
		system "Il'le"
		ship "Tace Mesa" ""
	npc save
		government "Silent Ones"
		personality harvests mining mute timid
		system "Il'le"
		ship "Tace Mesa" ""
	npc save
		government "Silent Ones"
		personality harvests mining mute timid
		system "Il'le"
		ship "Tace Mesa" ""
